projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0546e26
)
picture: Don't leak alternative-test
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jul 2020 20:42:35 +0000
(16:42 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jul 2020 21:44:29 +0000
(17:44 -0400)
This leak showed up while running the testsuite
under asan.
gtk/gtkpicture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpicture.c
b/gtk/gtkpicture.c
index 0833b11a6fb975c843899033e434c650a66381e6..31d814e3813505c692e8b5576eeeeca91c5a8443 100644
(file)
--- a/
gtk/gtkpicture.c
+++ b/
gtk/gtkpicture.c
@@
-284,6
+284,7
@@
gtk_picture_dispose (GObject *object)
gtk_picture_set_paintable (self, NULL);
g_clear_object (&self->file);
+ g_clear_pointer (&self->alternative_text, g_free);
G_OBJECT_CLASS (gtk_picture_parent_class)->dispose (object);
};